<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\Goods
 *
 * @property int $id ????id
 * @property int $user_id ??????
 * @property string|null $ssn ??品????
 * @property string $name ??品????
 * @property float $m_price ?谐??鄹?
 * @property float $s_price ???奂鄹?
 * @property int $thumb_id ??品????图
 * @property float $express_fee ???莘???
 * @property string|null $info ??品??息????
 * @property int $stock ??品????
 * @property int $classify_id ??品????id
 * @property int $is_shop ?欠??霞埽?0???? 1????
 * @property string|null $shop_time ?霞?时??
 * @property int $is_recommend ?欠??萍???0???? 1????
 * @property int $is_selling ?欠???????0???? 1????
 * @property int $sale_count ????????
 * @property int $is_new ?欠???品??0???? 1????
 * @property int $sort ??品????????????????越??????越前
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\Goods onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereClassifyId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereExpressFee($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereInfo($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereIsNew($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereIsRecommend($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereIsSelling($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereIsShop($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereMPrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereSPrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereSaleCount($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereShopTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereSort($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereSsn($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereStock($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereThumbId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereUserId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Goods withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\Goods withoutTrashed()
 * @mixin \Eloquent
 * @property string|null $express_company 快递公司
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereExpressCompany($value)
 * @property int $integral 购买商品所获积分
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereIntegral($value)
 * @property string|null $type common:常规商品;integral:积分商品
 * @property int $exchange_integral 兑换积分
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereExchangeIntegral($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereType($value)
 * @property string|null $is_free_shipping 是否包邮 0:不包邮 1：包邮
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereIsFreeShipping($value)
 * @property string $desc 商品描述
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereDesc($value)
 * @property string|null $link_url 商品链接
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Goods whereLinkUrl($value)
 */
class Goods extends Model
{
    protected $table = 'goods';
    use SoftDeletes;
}
